package com.cyou.nad.datastore.exception;

/**
 * ����ȷ�� ���� �쳣
 * @author lzm 
 */
public class InvalidRowColException extends RuntimeException {

	private static final long serialVersionUID = -7151680524864386733L;
	private int row = 0;
	private int col;
	private String colName;

	public InvalidRowColException() {
	}

	public InvalidRowColException(int row, int col) {
		super();
		this.row = row;
		this.col = col;
	}

	public InvalidRowColException(int row, String colName) {
		this.row = row;
		this.colName = colName;
	}

	@Override
	public String getMessage() {
		String str = super.getMessage();
		str += "不正确  row:" + row + "\tcol:" + col + "\t colName:" + colName;
		return str;
	}

}